package com.ititer.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.ititer.dao.CodeDictionaryDao;
import com.ititer.model.CodeDictionary;
import com.ititer.service.AbstractService;
import com.ititer.service.CodeDictionaryService;

@Component
public class CodeDictionaryServiceImpl extends AbstractService implements CodeDictionaryService {

	@Autowired
	private CodeDictionaryDao dao;

	@Override
	public List<CodeDictionary> getCodeDictionary(String type) {
		return dao.getByType(type);
	}
}
